<template>
    <div class="load">
        <hr/>
        <hr/>
        <hr/>
        <hr/>
    </div>
</template>

<script>
</script>

<style scoped>
.load {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
}
.load hr {
    border: 0;
    margin: 0;
    width: 0.4rem;
    height: 0.4rem;
    position: absolute;
    border-radius: 50%;
    animation: spin 2s ease infinite
}

.load :first-child {
    background: var(--main-1);
    animation-delay: -1.5s
}

.load :nth-child(2) {
    background: var(--red-color);
    animation-delay: -1s
}

.load :nth-child(3) {
    background: var(--green-color);
    animation-delay: -0.5s
}

.load :last-child {
    background: var(--blue-color);
}

@keyframes spin {
    0%, 100% {
        transform: translate(0)
    }
    25% {
        transform: translate(160%)
    }
    50% {
        transform: translate(160%, 160%)
    }
    75% {
        transform: translate(0, 160%)
    }
}
</style>